/*
 * Created by JFormDesigner on Wed Apr 19 21:08:43 CST 2023
 */

package com.viking.gui.setting;

import java.awt.*;
import javax.swing.*;
import javax.swing.GroupLayout;
import javax.swing.LayoutStyle;

/**
 * @author 86137
 */
public class Setting extends JFrame {
    public Setting() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        ftpaccountlabel1 = new JLabel();
        ftppasswprdlabel2 = new JLabel();
        databaseAccountlabel3 = new JLabel();
        label4 = new JLabel();
        serverAddresslabel5 = new JLabel();
        fileAddresslabel6 = new JLabel();
        ftpaccounttextField1 = new JTextField();
        ftppasswprdtextField2 = new JTextField();
        databaseAccounttextField3 = new JTextField();
        databasepasswprdtextField4 = new JTextField();
        fileAddresstextField5 = new JTextField();
        serverAddresstextField6 = new JTextField();
        savebutton1 = new JButton();
        canclebutton2 = new JButton();

        //======== this ========
        setTitle("\u8bbe\u7f6e\u670d\u52a1\u5668\u4fe1\u606f");
        Container contentPane = getContentPane();

        //---- ftpaccountlabel1 ----
        ftpaccountlabel1.setText("FTP\u8d26\u53f7\uff1a");

        //---- ftppasswprdlabel2 ----
        ftppasswprdlabel2.setText("FTP\u5bc6\u7801\uff1a");

        //---- databaseAccountlabel3 ----
        databaseAccountlabel3.setText("\u6570\u636e\u5e93\u8d26\u53f7\uff1a");

        //---- label4 ----
        label4.setText("\u6570\u636e\u5e93\u5bc6\u7801\uff1a");

        //---- serverAddresslabel5 ----
        serverAddresslabel5.setText("\u670d\u52a1\u5668\u5730\u5740\uff1a");

        //---- fileAddresslabel6 ----
        fileAddresslabel6.setText("\u6587\u4ef6\u5939\u5730\u5740\uff1a");

        //---- savebutton1 ----
        savebutton1.setText("\u4fdd\u5b58");

        //---- canclebutton2 ----
        canclebutton2.setText("\u53d6\u6d88");

        GroupLayout contentPaneLayout = new GroupLayout(contentPane);
        contentPane.setLayout(contentPaneLayout);
        contentPaneLayout.setHorizontalGroup(
            contentPaneLayout.createParallelGroup()
                .addGroup(contentPaneLayout.createSequentialGroup()
                    .addGap(51, 51, 51)
                    .addGroup(contentPaneLayout.createParallelGroup()
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addComponent(serverAddresslabel5)
                            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(serverAddresstextField6, GroupLayout.PREFERRED_SIZE, 150, GroupLayout.PREFERRED_SIZE))
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addComponent(label4)
                            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(databasepasswprdtextField4, GroupLayout.PREFERRED_SIZE, 150, GroupLayout.PREFERRED_SIZE))
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addComponent(databaseAccountlabel3)
                            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(databaseAccounttextField3, GroupLayout.PREFERRED_SIZE, 150, GroupLayout.PREFERRED_SIZE))
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addGap(12, 12, 12)
                            .addGroup(contentPaneLayout.createParallelGroup()
                                .addGroup(contentPaneLayout.createSequentialGroup()
                                    .addComponent(ftppasswprdlabel2)
                                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(ftppasswprdtextField2, GroupLayout.PREFERRED_SIZE, 150, GroupLayout.PREFERRED_SIZE))
                                .addGroup(contentPaneLayout.createSequentialGroup()
                                    .addComponent(ftpaccountlabel1)
                                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(ftpaccounttextField1, GroupLayout.PREFERRED_SIZE, 150, GroupLayout.PREFERRED_SIZE))))
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addComponent(fileAddresslabel6)
                            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(fileAddresstextField5, GroupLayout.PREFERRED_SIZE, 150, GroupLayout.PREFERRED_SIZE))
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addComponent(savebutton1, GroupLayout.PREFERRED_SIZE, 113, GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
                            .addComponent(canclebutton2, GroupLayout.PREFERRED_SIZE, 113, GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap(54, Short.MAX_VALUE))
        );
        contentPaneLayout.setVerticalGroup(
            contentPaneLayout.createParallelGroup()
                .addGroup(contentPaneLayout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(ftpaccounttextField1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(ftpaccountlabel1))
                    .addGap(18, 18, 18)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(ftppasswprdtextField2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(ftppasswprdlabel2))
                    .addGap(18, 18, 18)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(databaseAccountlabel3)
                        .addComponent(databaseAccounttextField3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(label4)
                        .addComponent(databasepasswprdtextField4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(serverAddresslabel5)
                        .addComponent(serverAddresstextField6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(fileAddresslabel6)
                        .addComponent(fileAddresstextField5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(savebutton1)
                        .addComponent(canclebutton2))
                    .addContainerGap(25, Short.MAX_VALUE))
        );
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JLabel ftpaccountlabel1;
    private JLabel ftppasswprdlabel2;
    private JLabel databaseAccountlabel3;
    private JLabel label4;
    private JLabel serverAddresslabel5;
    private JLabel fileAddresslabel6;
    private JTextField ftpaccounttextField1;
    private JTextField ftppasswprdtextField2;
    private JTextField databaseAccounttextField3;
    private JTextField databasepasswprdtextField4;
    private JTextField fileAddresstextField5;
    private JTextField serverAddresstextField6;
    private JButton savebutton1;
    private JButton canclebutton2;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
